﻿#region Using Statements
using System;
using Microsoft.Xna.Framework;
#endregion

namespace BubbleSurvival
{
    /// <summary>
    /// The options screen is brought up over the top of the main menu
    /// screen, and gives the user a chance to configure the game
    /// in various hopefully useful ways.
    /// </summary>
    class ControlsOptionsMenuScreen : MenuScreen
    {
        #region Fields

        const int lines = 6;
        public static int Lines
        {
            get { return lines; }
        }

        #endregion

        #region Initialization


        /// <summary>
        /// Constructor.
        /// </summary>
        public ControlsOptionsMenuScreen()
            : base("Controls")
        {
            // Create our menu entries.

            MenuEntry back = new MenuEntry("Back");
            MenuText controls = new MenuText( "W,A,S,D - move\n" +
                                              "E - inventory\n" +                                            
                                              "left.mouse - attack\n" +
                                              "right.mouse - use\n" +
                                              "mid.mouse - flare\n");

            // Hook up menu event handlers.
            back.Selected += OnCancel;

            // Add entries to the menu.
            MenuEntries.Add(back);
            MenuTexts.Add(controls);
        }


        #endregion

    }
}